package locacoes;

import utils.RepositorioException;


public interface RepositorioLocacoes {

	public abstract void inserir(Locacao locacao) throws RepositorioException;
	public abstract void atualizar(Locacao locacao) throws RepositorioException, LocacaoNaoEncontradaException;
	public abstract void remover(int numero) throws RepositorioException, LocacaoNaoEncontradaException;
	public abstract Locacao procurar(int numero) throws RepositorioException, LocacaoNaoEncontradaException;
	public abstract boolean existe(int numero) throws RepositorioException; 
	public abstract IteratorLocacoes getIterator() throws RepositorioException;
}
